<?php foreach($lists as $v){ if($flag==4){ ?>
    <li>
		<a href="<?php echo base_url($this->_site_path.'/goods/content/'.$v['goods_id']);?>" class="Z">
		<span class="l">
		<?php echo $v['goods_name'];?>
		</span>
		</a>
	</li>
<?php }
	else{ ?>
		<li>
		<a href="<?php echo base_url($this->_site_path.'/news/get_content/'.$v['parentid'].'/'.$v['id']);?>" class="Z">
		<span class="z">
		<?php echo $v['title'];?>
		</span>
		</a>
		</li>
<?php	}
} 
?>  
